
body {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
/* 聊天界面容器样式 */
.chatcontain{
    margin-top: 30px;
    margin-left: 20px;
    width: 1100px;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* 聊天界面头部样式 */
.chat-header {
    background-color: #f5f5f5;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.chat-header h2 {
    margin: 0;
    font-weight:500;
}
/* 聊天消息列表样式 */
.chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: scroll;
}
.chat-message {
    margin-bottom: 10px;
}
.chat-message .username {
    font-weight: bold;
}
.chat-message .timestamp {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}
.chat-message .content {
    margin-left: 20px;
}
/* 聊天输入框样式 */
.chat-input {

    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #f5f5f5;
}
.chat-input form {
    display: flex;
    align-items: center;
    width: 90%;
    padding-left: 10px;
}
.chat-input input[type="text"] {
    flex-grow: 1;
    margin-right: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.btn{
    margin-left: 10px;
    text-align: center;
    width: 60px;
    padding: 10px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.btn:hover{
    background-color: #0069d9;
}
/*-----------------------------*/
.contentleft{
    width:100%;
    margin-top: 30px;
    margin-bottom: 10px;
}
.left2{
    width: 60%;
    float: left;
    text-align: left;
    word-break: break-all;
}
.contentleft:after{
    content:'';
    display: block;
    clear: both;
}
.yuanleft{
    width: 70px;
    height: 70px;
    box-sizing: border-box;
    border-radius: 50%;
    background-color: rgb(0, 139, 102);
    float: left;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 10px;
    text-align: center;
    line-height: 70px;
    color: white;
    font-size: 17px;
}
.leftzi{
    padding: 10px;
    background-color: silver;
    border-radius: 10px 10px 10px 10px;
    margin-top: 5px;
    display:inline-block;
    text-align: left;
}

